#ifndef __MAINTOP_TOUCHBAR_H__
#define __MAINTOP_TOUCHBAR_H__

#include "cocos2d.h"

USING_NS_CC;


class MainTopTouchBar : public CCLayer
{
public:
	MainTopTouchBar();
	~MainTopTouchBar();

	CREATE_FUNC(MainTopTouchBar);

	virtual bool init();
	virtual void registerWithTouchDispatchar();
	virtual bool ccTouchbegan(CCTouch* pTouch, CCEvent* pCCEvent);
	virtual void ccTouchended(CCTouch* pTouch, CCEvent* pCCEvent);

	void InitPlayerInfo();
	std::string GetTime();
	void updateTime(float dt);
private:
	CCNode* PlayerInfo;
};




#endif